//
//  VerificationCodeBtn.h
//  O2OIntelligentCommunity
//
//  Created by zhaoyang on 16/6/29.
//  Copyright © 2016年 yiGongShe. All rights reserved.
//

#import <UIKit/UIKit.h>



typedef void (^ClickBlock)(void);

@interface VerificationCodeBtn : UIButton

@property (nonatomic,strong) ClickBlock clickblock;

- (instancetype)initWithFrame:(CGRect)frame;
//开启定时器
- (void)startTimer;
//请求失败时重新获取
- (void)setupFailState;

//开启动画
-(void)startAnimating;

@end
